package com.ruoyi.teacher.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题库对象 t_question_bank
 *
 * @author ruoyi
 * @date 2024-11-30
 */
public class TQuestionBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 题库名 */
    @Excel(name = "题库名")
    private String name;

    /** 单选题数量 */
    @Excel(name = "单选题数量")
    private Long radioNum;

    /** 多选题数量 */
    @Excel(name = "多选题数量")
    private Long checkNum;

    /** 判断题数量 */
    @Excel(name = "判断题数量")
    private Long judgmentNum;

    /** 填空题数量 */
    @Excel(name = "填空题数量")
    private Long blankNum;

    /** 简答题数量 */
    @Excel(name = "简答题数量")
    private Long shortAnswerNum;

    /** 是否开放 */
    @Excel(name = "是否开放")
    private String open;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long isDelete;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setRadioNum(Long radioNum)
    {
        this.radioNum = radioNum;
    }

    public Long getRadioNum()
    {
        return radioNum;
    }
    public void setCheckNum(Long checkNum)
    {
        this.checkNum = checkNum;
    }

    public Long getCheckNum()
    {
        return checkNum;
    }
    public void setJudgmentNum(Long judgmentNum)
    {
        this.judgmentNum = judgmentNum;
    }

    public Long getJudgmentNum()
    {
        return judgmentNum;
    }
    public void setBlankNum(Long blankNum)
    {
        this.blankNum = blankNum;
    }

    public Long getBlankNum()
    {
        return blankNum;
    }
    public void setShortAnswerNum(Long shortAnswerNum)
    {
        this.shortAnswerNum = shortAnswerNum;
    }

    public Long getShortAnswerNum()
    {
        return shortAnswerNum;
    }
    public void setOpen(String open)
    {
        this.open = open;
    }

    public String getOpen()
    {
        return open;
    }
    public void setIsDelete(Long isDelete)
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete()
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("radioNum", getRadioNum())
                .append("checkNum", getCheckNum())
                .append("judgmentNum", getJudgmentNum())
                .append("blankNum", getBlankNum())
                .append("shortAnswerNum", getShortAnswerNum())
                .append("open", getOpen())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("isDelete", getIsDelete())
                .append("remark", getRemark())
                .toString();
    }
}
